package me.zingon.self.bigdispatcher.service;

import me.zingon.self.bigdispatcher.entity.NacosJob;
import org.quartz.SchedulerException;

import java.util.Date;
import java.util.List;

/**
 * (NacosJobDetail)表服务接口
 *
 * @author zingon
 * @since 2020-12-30 10:35:24
 */
public interface NacosJobService {

    NacosJob getById(Long id);

    Integer addJob(NacosJob job);

    Integer scheduleJob(NacosJob job) throws SchedulerException;

    List<NacosJob> list(NacosJob job);

    Integer unschedule(NacosJob job) throws SchedulerException;

}